using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
using FireStarterModeller.BO;
using Habanero.BO.ClassDefinition;
using Habanero.Faces.Base;
using Habanero.Faces.Win;

namespace FireStarterModeller.UI
{
    internal class FirestarterControlFactory: ControlFactoryWin
    {
//        private IGroupBox GetRelationshipDetailsGroupBox()
//        {
//            PanelBuilder panelBuilder = new PanelBuilder(this);
//
//            _detailPanelInfo = panelBuilder.BuildPanelForForm(ClassDef.Get<DMRelationship>().UIDefCol["default"].UIForm);
//            IGroupBox detailPanelGroup = _controlFactory.CreateGroupBox("Relationship Details");
//            detailPanelGroup.Controls.Add(_detailPanelInfo.Panel);
//
//            detailPanelGroup.MinimumSize = new Size(_detailPanelInfo.Panel.MinimumSize.Width + 10, _detailPanelInfo.Panel.MinimumSize.Height + 20);
//            RelationshipNameTextBox = (ITextBox)_detailPanelInfo.FieldInfos["RelationshipName"].InputControl;
//            return detailPanelGroup;
//        }
    }
}
